/*
 * Project: BoboDesignPattern
 * 
 * File Created at 2019年1月9日
 * 
 * Copyright 2012 Greenline.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Greenline Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Greenline.com.
 */
package composite.test2;

/**
 * @Type VideoFile
 * @Desc
 * @author 52489
 * @date 2019年1月9日
 * @Version V1.0
 */
public class VideoFile implements AbstractFile {

    private String name;

    /**
     * @param name
     */
    public VideoFile(String name) {
        super();
        this.name = name;
    }

    /*
     * (non-Javadoc)
     * 
     * @see composite.test2.AbstractFile#killVirus()
     */
    @Override
    public void killVirus() {
        System.out.println("--视频文件：" + name + "查杀！");
    }

}
